﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace WebUpdaterAdminCore.Data.Migrations
{
    public partial class modify201806211 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "ExecuteCommands",
                table: "WebSiteInfoExtends",
                newName: "BeforExecCommands");

            migrationBuilder.AddColumn<string>(
                name: "AfterExecCommands",
                table: "WebSiteInfoExtends",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "AfterExecCommands",
                table: "WebSiteInfoExtends");

            migrationBuilder.RenameColumn(
                name: "BeforExecCommands",
                table: "WebSiteInfoExtends",
                newName: "ExecuteCommands");
        }
    }
}
